// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';

// /** 新增售后跟进 POST /fds/after_sales/addAfterSalesFollowUp */
// export async function addSvBusClassUsingPOST1(
//   body,
//   options,
// ) {
//   return request({
//     url: '/fds/after_sales/addAfterSalesFollowUp', 
//     method: 'POST',
//     headers: {
//       'Content-Type': 'application/json',
//     },
//     data: body,
//     ...(options || {}),
//   });
// }

/** 新增售后跟进 POST /fds/after_sales/addAfterSalesFollowUp */
export async function addSvBusClassUsingPOST1(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/after_sales/addAfterSalesFollowUp', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 新增售后记录 POST /fds/after_sales/addAfterSalesRecord */
export async function addAfterSalesRecordUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/addAfterSalesRecord', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增售后供应商往来账 POST /fds/after_sales/addSvAcclog */
export async function addSvAcclogUsingPOST(
  body,
  options,
) {
  return request('/fds/after_sales/addSvAcclog', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 新增业务分类 POST /fds/after_sales/addSvBusClass */
export async function addSvBusClassUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/addSvBusClass', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增业务 POST /fds/after_sales/addSvBusiness */
export async function addSvBusinessUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/addSvBusiness', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增售后供应商 POST /fds/after_sales/addSvSupplies */
export async function addSvSuppliesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/addSvSupplies', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 删除售后跟进记录 POST /fds/after_sales/deleteAfterSalesFollowUp */
export async function deleteAfterSalesFollowUpUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/deleteAfterSalesFollowUp', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 删除售后记录 POST /fds/after_sales/deleteAfterSalesRecord */
export async function deleteSvOrderUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/deleteAfterSalesRecord', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 删除往来账 POST /fds/after_sales/deleteSvAcclog */
export async function deleteSvAcclogUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/deleteSvAcclog', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 完成售后记录 POST /fds/after_sales/finishAfterSalesRecord */
export async function finishSvOrderUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/finishAfterSalesRecord', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后跟进记录列表 POST /fds/after_sales/getAfterSalesFollowUpList */
export async function getAfterSalesFollowUpListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getAfterSalesFollowUpList', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后记录 POST /fds/after_sales/getAfterSalesRecord */
export async function getAfterSalesRecordUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getAfterSalesRecord', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后记录列表 POST /fds/after_sales/getAfterSalesRecordList */
export async function getAfterSalesRecordListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getAfterSalesRecordList', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后设置 POST /fds/after_sales/getAfterSalesSetting */
export async function getAfterSalesSettingUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getAfterSalesSetting', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 查询往来账订单详情 GET /fds/after_sales/getSvAcclogDetail */
export async function getSvAcclogDetailUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getSvAcclogDetail', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取往来账列表 GET /fds/after_sales/getSvAcclogList */
export async function getSvAcclogListUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getSvAcclogList', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取业务分类 GET /fds/after_sales/getSvBusClass */
export async function getSvBusClassUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getSvBusClass', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取业务分类列表 POST /fds/after_sales/getSvBusClassList */
export async function getSvBusClassListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getSvBusClassList', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取业务 GET /fds/after_sales/getSvBusiness */
export async function getSvBusinessUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getSvBusiness', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取业务列表 POST /fds/after_sales/getSvBusinessList */
export async function getSvBusinessListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getSvBusinessList', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后供应商详情 POST /fds/after_sales/getSvSupplies */
export async function getSvSuppliesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getSvSupplies', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后供应商列表 GET /fds/after_sales/getSvSuppliesList */
export async function getSvSuppliesListUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/getSvSuppliesList', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 撤销售后记录 POST /fds/after_sales/revokeAfterSalesRecord */
export async function revokeSvOrderUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/after_sales/revokeAfterSalesRecord', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}


/** 更新售后记录 POST /fds/after_sales/updateAfterSalesRecord */
export async function updateAfterSalesRecordUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/updateAfterSalesRecord', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改售后设置 POST /fds/after_sales/updateAfterSalesSetting */
export async function updateAfterSalesSettingUsingPOST(
  body,
  options,
) {
  return request({
    url: '/fds/after_sales/updateAfterSalesSetting', 
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 修改往来账订单详情 POST /fds/after_sales/updateSvAcclogDetail */
export async function updateSvAcclogDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/updateSvAcclogDetail', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改业务分类 POST /fds/after_sales/updateSvBusClass */
export async function updateSvBusClassUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/updateSvBusClass', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改业务 POST /fds/after_sales/updateSvBusiness */
export async function updateSvBusinessUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/updateSvBusiness', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 更新售后供应商 POST /fds/after_sales/updateSvSupplies */
export async function updateSvSuppliesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/after_sales/updateSvSupplies', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出售后供应商列表 POST /fds/after_sales/exportSvSuppliesList */
export async function exportSvSuppliesListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/after_sales/exportSvSuppliesList', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出售后分类列表 POST /fds/after_sales/exportSvBusClassList */
export async function exportSvBusClassListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/after_sales/exportSvBusClassList', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出售后业务列表 POST /fds/after_sales/exportSvBusinessList */
export async function exportSvBusinessListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/after_sales/exportSvBusinessList', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出售后记录列表 POST /fds/after_sales/exportAfterSalesRecordList */
export async function exportAfterSalesRecordListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/after_sales/exportAfterSalesRecordList', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出售后跟进记录列表 POST /fds/after_sales/exportAfterSalesFollowUpList */
export async function exportAfterSalesFollowUpListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/after_sales/exportAfterSalesFollowUpList', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}